import React from 'react';
import ReactDOM from 'react-dom';
import App from './App';
//导入路由 
import {BrowserRouter as Router} from "react-router-dom";
//汉化antd组件
import { ConfigProvider } from 'antd';
import zhCN from 'antd/lib/locale/zh_CN';
import 'antd/dist/antd.css';
ReactDOM.render(
  <ConfigProvider locale={zhCN}>
  <Router>
    <App />
  </Router>
  </ConfigProvider>,
  document.getElementById('root')
);
